// 导入二次封装axios
import koi from "@/utils/axios.ts";

export const listPage = (params: any) => koi.get("/admin/order/order/list", params);
export const read = (id: any) => koi.get("/admin/order/order/read", { id });
export const update = (data: any) => koi.post("/admin/order/order/update", data);
export const add = (data: any) => koi.post("/admin/order/order/add", data);
export const orderDelivery = (data: any) => koi.post("/admin/order/order/delivery", data);
export const getStatusMap = () => koi.get("/admin/order/order/getStatusMap");
export const exportData = (data: any) => koi.post("/admin/order/order/exportData", data);
